load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "doc",
    srcs = [
        "man_docs.go",
        "md_docs.go",
        "rest_docs.go",
        "util.go",
        "yaml_docs.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/doc",
    importpath = "github.com/spf13/cobra/doc",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/cpuguy83/go-md2man/md2man",
        "//vendor/github.com/spf13/cobra",
        "//vendor/github.com/spf13/pflag",
        "//vendor/gopkg.in/yaml.v2:yaml_v2",
    ],
)
